 
#include <iostream>
#include <string>

using namespace std;

int main()
{
    int c = 0;
    string g;
    g = "()()(())"
    string steck == "";
    for (char i; g){
        if (i == '(') steck = steck + 1;
        else
        if (steck[steck.lenght()-1] =='(') steck.pop_back();
    }
    if (steck.lenght() == 0)
        count << "True";
    else count << "False";
}
